package com.draven;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * 应用程序启动类
 */
@SpringBootApplication
@MapperScan("com.draven.mapper")
@EnableAspectJAutoProxy(proxyTargetClass = true, exposeProxy = true)
@ComponentScan({"com.draven.aspect", "com.draven"})
public class DravenApplication {

    public static void main(String[] args) {
        SpringApplication.run(DravenApplication.class, args);
    }
} 